# m32r testcase for bnez $src2,$disp16
# mach(): m32r m32rx

	.include "testutils.inc"

	start

	.global bnez
bnez:
	mvi_h_gr r4, 1
	bnez r4, test0pass
test1fail:
	fail

test0pass:
	mvi_h_gr r4, 0
	bnez r4, test1fail

	pass
